Application.YieldToNextThread Method

Triggers a context change. That is, it causes the Thread Scheduler to yield the currently executing thread's processing time to the next Thread in the queue that is awaiting processing cycles.

Syntax

It is possible for the next Thread to be the currently executing Thread.